<?php
 require 'cecndb.php';
   $vidcita= $_GET["idcita"];
 	$SQLstr = "DELETE FROM citas WHERE idcita='$vidcita'";
    if (!$conectarBD->query($SQLstr))
    {
        echo " Problemas al relizar el delete: (" . $conectarBD->errno . ") " . $conectarBD->error;
    }
 
    $conectarBD->close();
	require 'lista_citas.php';
?>